<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>Document</title>
	</head>
	<body>
		<form action="/abc" method="post">
			<div>
				<label for="username">
					用户: <input type="text" id="username" name="username" />
				</label>
			</div>
			<div>
				<label for="password">
					密码:
					<input type="password" id="password" name="password" />
				</label>
			</div>

			<div>
				性别:
				<label for="male">
					<input type="radio" name="sex" id="male" value="male" />男
				</label>
				<label for="female">
					<input
						type="radio"
						name="sex"
						id="female"
						value="female"
					/>女
				</label>
			</div>

			<div>
				爱好:
				<label for="basketball">
					<input
						type="checkbox"
						name="hobby"
						id="basketball"
						value="basketball"
					/>蓝球
				</label>
				<label for="football">
					<input
						type="checkbox"
						name="hobby"
						id="football"
						value="football"
					/>足球
				</label>
			</div>

			<button type="submit">提交</button>
		</form>
	</body>
</html>
